app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(neq, x)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(cons, y), app2(app2(filter, f), ys))
NONZERO -> APP2(neq, 0)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(filtersub, app2(f, y))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(filtersub, app2(f, y)), f)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
NONZERO -> APP2(filter, app2(neq, 0))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(neq, x)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(cons, y), app2(app2(filter, f), ys))
NONZERO -> APP2(neq, 0)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(filtersub, app2(f, y))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(filtersub, app2(f, y)), f)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(filter, f)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
NONZERO -> APP2(filter, app2(neq, 0))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(neq, app2(s, x)), app2(s, y)) -> APP2(app2(neq, x), y)
POL( neq ) = 1
POL( s ) = 1
POL( APP2(x1, x2) ) = max{0, x2 - 1}
POL( app2(x1, x2) ) = x1 + x2 + 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(f, y)
Used ordering: Polynomial Order [17,21] with Interpretation:
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
POL( filter ) = 0
POL( true ) = 1
POL( neq ) = max{0, -1}
POL( filtersub ) = max{0, -1}
POL( false ) = max{0, -1}
POL( app2(x1, x2) ) = x2 + 1
POL( 0 ) = 1
POL( APP2(x1, x2) ) = x1
POL( s ) = max{0, -1}
POL( nil ) = 1
POL( cons ) = 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
APP2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> APP2(app2(filter, f), ys)
Used ordering: Polynomial Order [17,21] with Interpretation:
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
POL( filter ) = 0
POL( true ) = 1
POL( neq ) = max{0, -1}
POL( filtersub ) = 1
POL( false ) = 1
POL( app2(x1, x2) ) = x2 + 1
POL( 0 ) = max{0, -1}
POL( APP2(x1, x2) ) = x2 + 1
POL( s ) = 0
POL( nil ) = 1
POL( cons ) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
APP2(app2(filter, f), app2(app2(cons, y), ys)) -> APP2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(neq, 0), 0) -> false
app2(app2(neq, 0), app2(s, y)) -> true
app2(app2(neq, app2(s, x)), 0) -> true
app2(app2(neq, app2(s, x)), app2(s, y)) -> app2(app2(neq, x), y)
app2(app2(filter, f), nil) -> nil
app2(app2(filter, f), app2(app2(cons, y), ys)) -> app2(app2(app2(filtersub, app2(f, y)), f), app2(app2(cons, y), ys))
app2(app2(app2(filtersub, true), f), app2(app2(cons, y), ys)) -> app2(app2(cons, y), app2(app2(filter, f), ys))
app2(app2(app2(filtersub, false), f), app2(app2(cons, y), ys)) -> app2(app2(filter, f), ys)
nonzero -> app2(filter, app2(neq, 0))